<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>Fieldtrip</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
        <% # Include TinyMCE before other JS to avoid problems -%>      
        <% if using_tiny_mce? %>
        <%= javascript_include_tiny_mce %>
        <%= tiny_mce_init({:editor_selector=> "tiny_mce",:theme => 'advanced' ,:theme_advanced_toolbar_location => "top"})%>
        <% end %>
       
        <%= javascript_include_tag :defaults %>
        <%= stylesheet_link_tag "fieldtrip" %>
        <%= Cartographer::Gmap::Header.header_for(request,'2.x') %>
        <%= javascript_include_tag 'gmaps_helpers' %>
        
    </head>
    <body  onunload="GUnload()">
        <div id="main" >
            <%= render :partial => "/templates/header" %>
            <div id="content" class="<%= @editing_layout ? 'content_for_edit' :  'content_normal' %>">
                <%= yield  %>
            </div>
            <%= render :partial => "/templates/footer" %>
        </div>
    </body>
</html>
